<extend name="common:commonTemplate" />
<block name="main_content">
<div id="content" promoter_id="{$promoter_id}">
	<div id="content-header">
		<div id="breadcrumb">
			<a class="tip-bottom" href="index.html"
				data-original-title="Go to Home"><i class="icon-home"></i> 首页</a>
			<a href="#">推广人</a> <a class="current" href="#">推广人账户余额列表</a>
		</div>
		
	</div>
	<div class="container-fluid">
		<div class="row-fluid">
			<div class="span6">
				<div class="widget-box">
					<div class="widget-title">
						<span class="icon"> <i class="icon-info-sign"></i>
						</span>
						<h5>搜索条件（仅支持搜索单用户）</h5>
					</div>
					<div class="widget-content nopadding">
						<form novalidate="novalidate" id="basic_validate"
							name="basic_validate" action="#" method="post"
							class="form-horizontal">
							<div class="control-group">
								<label class="control-label">推广人编号</label>
								<div class="controls">
									<input type="text" id="promoter_id" name="required" value="{$promoter_id}" placeholder="推荐搜索条件"/>
								</div>
							</div>
							<div class="form-actions">
								<input id="btn_search" type="button" class="btn btn-success" value="搜索">
							</div>
						</form>
					</div>
				</div>
			</div>
			<div class="span6">
				<div class="widget-box">
					<div class="widget-title">
						<span class="icon"> <i class="icon-info-sign"></i>
						</span>
						<h5>余额变更</h5>
					</div>
					<div class="widget-content nopadding">
						<form novalidate="novalidate" id="basic_validate"
							name="basic_validate" action="#" method="post"
							class="form-horizontal">
							<div class="control-group">
								<label class="control-label">推广人编号</label>
								<div class="controls">
									<input type="text" id="amount_promoter_id" name="required" value="{$promoter_id}" placeholder=""/>
								</div>
							</div>
							<div class="control-group">
								<label class="control-label">变更类型</label>
								<div class="controls">
									<select style="width:220px;" id="amount_type">
					                  <option value="11">客服增加</option>
					                  <option value="21">客服减少</option>
					                </select>
								</div>
							</div>
							<div class="control-group">
								<label class="control-label">金额</label>
								<div class="controls">
									<input type="text" id="amount" name="required" placeholder=""/>
								</div>
							</div>
							<div class="control-group">
								<label class="control-label">备注</label>
								<div class="controls">
									<input type="text" id="remark" name="required" placeholder=""/>
								</div>
							</div>
							<div class="form-actions">
								<input id="btn_updateAmount" type="button" class="btn btn-danger" value="变更">
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	
		<div class="row-fluid">
      <div id="div_amount" class="span6">
        <div class="widget-box">
          <div class="widget-title"> <span class="icon"> <i class="icon-th"></i> </span>
            <h5>余额列表</h5>
          </div>
          <div class="widget-content nopadding">
            <table id="search_result" page_index="1" class="table table-bordered table-striped">
              <thead>
                <tr>
                  <th>推广人编号</th>
                  <th>推广人姓名</th>
                  <th>类型</th>
                  <th>明细</th>
                  <th>金额</th>
                  <th>变更前金额</th>
                  <th>变更后金额</th>
				  <th>创建时间</th>
                </tr>
              </thead>
              <tbody>
                
              </tbody>
            </table>
          </div>
        </div>
        
        <div id="paging" class="fg-toolbar ui-toolbar ui-widget-header ui-corner-bl ui-corner-br ui-helper-clearfix">
        	<div class="dataTables_paginate fg-buttonset ui-buttonset fg-buttonset-multi ui-buttonset-multi paging_full_numbers" id="DataTables_Table_0_paginate">
        		<a page_index="1" class="first ui-corner-tl ui-corner-bl fg-button ui-button ui-state-default" tabindex="0" id="DataTables_Table_0_first">首页</a>
        		<a class="previous fg-button ui-button ui-state-default" tabindex="0" id="DataTables_Table_0_previous">上页</a>
        		<span>共<span id="total_count">0</span>条 <span id="curr_page_index">0</span>/<span id="total_page">0</span></span>
       			<a class="next fg-button ui-button ui-state-default" tabindex="0" id="DataTables_Table_0_next">下页</a>
       			<a class="last ui-corner-tr ui-corner-br fg-button ui-button ui-state-default" tabindex="0" id="DataTables_Table_0_last">末页</a>
       			<span>
        			<span><input type="text" style="width:20px;" class="ui-state-default"></span>
        			
        			<a class="fg-button ui-button ui-state-default" tabindex="0">跳转</a>
       			</span>
       		</div>
    	</div>
        

      </div>
      <div id="div_withdraw_amount" class="span6">
        <div class="widget-box">
          <div class="widget-title"> <span class="icon"> <i class="icon-th"></i> </span>
            <h5>可提现余额列表</h5>
          </div>
          <div class="widget-content nopadding">
            <table id="search_result" page_index="1" class="table table-bordered table-striped">
              <thead>
                <tr>
                  <th>推广人编号</th>
					<th>推广人姓名</th>
					<th>类型</th>
					<th>明细</th>
					<th>金额</th>
					<th>变更前金额</th>
					<th>变更后金额</th>
					<th>创建时间</th>
                </tr>
              </thead>
              <tbody>
                
              </tbody>
            </table>
          </div>
        </div>
        
        <div id="paging" class="fg-toolbar ui-toolbar ui-widget-header ui-corner-bl ui-corner-br ui-helper-clearfix">
        	<div class="dataTables_paginate fg-buttonset ui-buttonset fg-buttonset-multi ui-buttonset-multi paging_full_numbers" id="DataTables_Table_0_paginate">
        		<a page_index="1" class="first ui-corner-tl ui-corner-bl fg-button ui-button ui-state-default" tabindex="0" id="DataTables_Table_0_first">首页</a>
        		<a class="previous fg-button ui-button ui-state-default" tabindex="0" id="DataTables_Table_0_previous">上页</a>
        		<span>共<span id="total_count">0</span>条 <span id="curr_page_index">0</span>/<span id="total_page">0</span></span>
       			<a class="next fg-button ui-button ui-state-default" tabindex="0" id="DataTables_Table_0_next">下页</a>
       			<a class="last ui-corner-tr ui-corner-br fg-button ui-button ui-state-default" tabindex="0" id="DataTables_Table_0_last">末页</a>
       			<span>
        			<span><input type="text" style="width:20px;" class="ui-state-default"></span>
        			
        			<a class="fg-button ui-button ui-state-default" tabindex="0">跳转</a>
       			</span>
       		</div>
    	</div>
        

      </div>
    </div>
	
	</div>



</div>
</block>

<block name="js_content">
<script src="/Public/js/project/amountList.js">
	
</script>
</block>